﻿using Newtonsoft.Json;
using WMS.FC.Domain.ValueObject.System;

namespace WMS.FC.Domain.ValueObject.Menu
{
    /// <summary>
    /// 列校验规则VO
    /// </summary>
    public class ColumnRuleVO : ValueObjectBase
    {
        /// <summary>
        /// 正则表达式
        /// </summary>
        [JsonProperty("regExp")]
        public string RegExp { get; set; } = string.Empty;

        /// <summary>
        /// 验证失败消息
        /// </summary>
        [JsonProperty("message")]
        public string Message { get; set; } = string.Empty;
    }
}
